<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="/order/list/3">订单列表</a>
<br>
<table border="1">
    <tr>
        <th>订单号</th>
        <th>订单状态</th>
    </tr>
    <tr th:each="order,orderStat : ${orderList}">
        <td th:text="${order.getOrderNo()}">xxx</td>
        <td th:if="${order.getOrderStatus() == 10}">待付款</td>
        <td th:if="${order.getOrderStatus() == 20}">已支付</td>
        <td th:if="${order.getOrderStatus() == 30}">支付超时，已取消</td>
    </tr>
</table>
</body>
</html>